package com.youlai.system.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

@Schema(description = "工资视图对象")
@Data
public class SalaryVO {
    @Schema(description = "社保ID")
    private Integer id;
    @Schema(description = "用户ID")
    private Integer userId;
    @Schema(description = "当前基本工资")
    private String currentBasicSalary;
    @Schema(description = "当前岗位工资")
    private String currentPostWage;
    @Schema(description = "用户名称")
    private String userName;
    @Schema(description = "电话号")
    private String mobile;
    @Schema(description = "部门名称")
    private String departmentName;
    @Schema(description = "入职形式")
    private String formOfEmployment;
    @Schema(description = "入职形式")
    private String formOfEmploymentId;
    @Schema(description = "工号")
    private String workNumber;
    @Schema(description = "入职时间")
    @JsonInclude(value = JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate timeOfEntry ;
    @Schema(description = "公积金企业缴纳数额")
    private String enterpriseProvidentFundPayment;
    @Schema(description = "公积金个人缴纳数额")
    private String personalProvidentFundPayment;
    @Schema(description = "社保个人缴纳数额")
    private String personalPayment;
    @Schema(description = "社保企业缴纳数额")
    private String companyPayment;
    @Schema(description = "部门id")
    private String departmentId;
    @Schema(description = "头像")
    private String staffPhoto;
}
